<?php
include "conn.php";
$result=$conn->query("select * from details");
$bossdata=array();
for($i=0;$i<$result->num_rows;$i++){
    $bossdata[$i]=$result->fetch_assoc();
}
echo json_encode($bossdata);